package com.heima.mapper;

import com.baomidou.mybatisplus.core.mapper.BaseMapper;
import com.baomidou.mybatisplus.extension.plugins.pagination.Page;
import com.heima.domain.po.Partner;
import com.heima.domain.vo.PaetnerByIdVo;
import com.heima.domain.vo.PartnerVo;
import org.apache.ibatis.annotations.Mapper;

/**
 * <p>
 * 合作商表 Mapper 接口
 * </p>
 *
 * @author author
 * @since 2024-06-06
 */
@Mapper
public interface PartnerMapper extends BaseMapper<Partner> {

    PaetnerByIdVo getPartnerById(Integer id);

    Page<PartnerVo> getByPage(Page<Partner> page, String name);
}
